package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Table(name = "cn_omc_revise_set_meal_item")
public class OmcReviseSetMealItem extends BaseEntity {

    /**
     * 调房调级-套餐-Id
     */
    @Column(name = "revise_set_meal_id")
    private Long reviseSetMealId;

    /**
     * 费用项id
     */
    @Column(name = "expense_type_id")
    private Long expenseTypeId;

    /**
     * 费用项id
     */
    @Column(name = "expense_item_id")
    private Long expenseItemId;

    /**
     * 配置码 :1- 入院收费 2-周期收费 3-出院收费
     */
    @Column(name = "model_code")
    private Integer modelCode;

    /**
     * 是否退院退费 0.否 1.是
     */
    @Column(name = "is_out_return")
    private Integer isOutReturn;

    /**
     * 是否请假退费 0.否 1.是
     */
    @Column(name = "is_leave_return")
    private Integer isLeaveReturn;

    /**
     * 是否可以调整 0.否 1.是
     */
    @Column(name = "is_adjust")
    private Integer isAdjust;

    /**
     * 缴费类型名
     */
    @Column(name = "item_type")
    private String itemType;

    /**
     * 缴费项目名
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 项目费用
     */
    @Column(name = "item_fee")
    private BigDecimal itemFee;

    /**
     * 退费标准
     */
    @Column(name = "return_standard")
    private BigDecimal returnStandard;

    /**
     * 频次
     */
    private Integer times;

    /**
     * 该账单消耗套餐收费项次数
     */
    @Column(name = "used_degree")
    private BigDecimal usedDegree;

    /**
     * 剩余次数
     */
    @Column(name = "residue_degree")
    private BigDecimal residueDegree;

    /**
     * 描述
     */
    private String remark;

    /**
     * 服务说明
     */
    private String content;

    /**
     * 收费模式
     */
    @Column(name = "cost_type")
    private Integer costType;
}